package com.qclix.inv.dao;

import com.qclix.inv.Holiday;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import java.util.List;

/**
 * Default XMLClient DAO implementation.<br/>
 * This implementation uses Hibernate
 */
public class HibernateTemplateHolidayDaoImpl extends HibernateDaoSupport implements HolidayDAO {

    public List<Holiday> getHolidays() {
        return getHibernateTemplate().loadAll(Holiday.class);
    }
}
